<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<a href="/SIM/addstudents.jsp">添加学生</a>
<table class="default" width="100%">
	<col width="10%">
	<col width="20%">
	<col width="5%">
	<tr class="title">
		<td>序号</td>
		<td>姓名</td>
		<td>性别</td>
		<td>生日</td>
		<td>地址</td>
	</tr>
	<!-- 遍历开始 -->
	<s:iterator value="#session.students_list" var="stu">
	<tr class="list">
		<td><s:property value="#stu.sid"/></td>
		<td><a href=""/></a></td>
		<td><s:property value="#stu.gender"/></td>
		<td><s:date name="#stu.birthday" format="yyyy年MM月dd日"/></td>
		<td><s:property value="#stu.address"/></td>
		<td><a href=""/>">删除</a></td>	
	</tr>
	</s:iterator>
	<!-- 遍历结束 -->
</table>
</body>
</html>